package org.jeecg.modules.activiti.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("signtable")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class SignTable implements Serializable {

    /**id*/
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private String id;

    @Excel(name = "proceid", width = 15)
    @ApiModelProperty(value = "proceid")
    private String proceid;

    @Excel(name = "taskDefKey", width = 15)
    @ApiModelProperty(value = "taskDefKey")
    private String taskDefKey;

    @Excel(name = "userId", width = 15)
    @ApiModelProperty(value = "userId")
    private String userId;

    @Excel(name = "endTime", width = 15)
    @ApiModelProperty(value = "endTime")
    private String endTime;

    @Excel(name = "taskId", width = 15)
    @ApiModelProperty(value = "taskId")
    private String taskId;

    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;




}
